package demo1;

class Base{
    public int a;
    public int b;
}

class Derived extends Base{
    public int c;

    public void methon(){
        a = 1;
        b = 2;
        c = 3;

        System.out.println(a + " " + b + " " + c + " ");
    }
}

public class Test1 {
    public static void main(String[] args) {
        Derived derived = new Derived();
        derived.methon();
    }
}
